package com.hy.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;


@TableName("district")
@Accessors(chain = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class District implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Integer id;


    @TableField("name")
    private String name;

    @TableId("city_id")
    private Integer cityId;
}
